# -*- coding: utf-8 -*-

#---初始化---
def Init():
    global _global_dict
    _global_dict = {}

#---定义一个全局变量---
def Set(key,value):
    _global_dict[key] = value

#---获得一个全局变量,不存在则返回默认值
def Get(key,defValue=None):
    try:
        return _global_dict[key]
    except KeyError:
        return defValue

#
WIND_DATA_RECVED = 0
WIND_DATA_RECVED_COUNT=0
TOTAL_TIME = 0

Time1 = 0
Time1Count = 0
Time2 = 0
Time2Count = 0
Time3 = 0
Time3Count = 0
Time4 = 0
Time4Count = 0
Time5 = 0
Time5Count = 0